package top.sdaily.web.service;

import top.sdaily.web.dto.DRoleMenu;
import top.sdaily.web.dto.DRoleMenuTreeNode;
import top.sdaily.web.model.Role;
import top.sdaily.web.model.RoleMenu;

import java.util.List;

/**
 * Created by tsujishiki on 2017/1/24.
 */
public interface RoleMenuRightService {

    List<Role> getAllRoleMenuRight();

    List<DRoleMenuTreeNode> getRoleMenuRight(String roleId);

    @Deprecated()
    void modifyRoleMenuRight(List<Role> roleMenuRight);

    void modifyRoleMenuRight(List<DRoleMenuTreeNode> roleMenuRight,String roleId);

}
